﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using EntitiesTM;
using Business;

namespace TimeWork.usercontrol
{
    public partial class ViewProfile : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //EnStaff staff = BuStaff.GetStaffByEmail(Session["email"].ToString());
                //LbId.Text = "NV."+staff.positionStandFor+"."+staff.id;
                //LbPositionName.Text = staff.positionName;
                //LbFullName.Text = staff.fullName;
                //LbEmail.Text = staff.email;
                //LbBirthday.Text = staff.birthday.ToString("dd/MM/yyyy");
                //LbScaleLevel.Text = staff.scale+" / "+staff.level;
                //LbGender.Text = staff.gender?"Nam":"Nữ";
                //LbPhoneNumber.Text = staff.phoneNumber;
                //LbCurrentAddress.Text = staff.currentAddress;
            }
        }
    }
}